package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessPageDTO;
import com.qk.dto.business.BusinessPoolPageDTO;
import com.qk.dto.business.UpdateBusinessInfoDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessTrackVO;
import com.qk.vo.business.BusinessVO;

/**
 *
 *
 * @author blusr
 * @version 1.0
 * @date 2025/10/11 20:11
 */
public interface BusinessService extends IService<Business> {

    PageResult<BusinessVO> page(BusinessPageDTO businessDTO);

    void addBusiness(BusinessDTO dto);

    BusinessTrackVO getBusinessById(Integer id);

    void updateBusinessInfo(UpdateBusinessInfoDTO dto);

    PageResult<Business> getPoolPage(BusinessPoolPageDTO dto);

    void toCustomer(Integer id);
}
